<extend name="Public/layout"/>
<block name="head">
<script src="__PUBLIC__js/jquery.cookie.js"></script>
<link rel="stylesheet" href="__PUBLIC__css/new-index.css?t=<php> echo time()</php>">
<link rel="stylesheet" href="__PUBLIC__css/reset.css?t=<php> echo time()</php>">
</block>
    
   <block name="main">
<!-- 头部 -->
<div class="header">
    <div class="header-swiper">
        <div class="header-swiper-container">
            <div class="swiper-wrapper">
              <foreach name="wx_banner_index" item="v">
                <div class="swiper-slide"><a href="{$v.url}"><img src="{$v.content}" alt=""></a></div>
              </foreach>
            </div>
            <div class="swiper-pagination"></div>
        </div>
    </div>
</div>
<!-- 导航 -->
<div class="bhjie-nav">
    <div class="nav-pro">
        <a href="/Home/video/program/id/8">
            <div class="nav-pro-item">
                <div class="item-info">
                    <div class="item-info-left">
                        <p>网贷早报</p>
                        <p><i>最新网贷资讯</i></p>
                    </div>
                    <div class="item-info-right"></div>
                </div>
            </div>
        </a>

        <a href="/Home/video/program/id/14">
          <div class="nav-pro-item right">
                <div class="item-info">
                    <div class="item-info-left">
                        <p>平台走访</p>
                        <p>
                            <i>平台实地考察</i>
                        </p>
                    </div>
                    <div class="item-info-right"></div>
                </div>
        </div>
      </a>

    </div>
</div>
<div class="nav">
    <ul>
        <li>
            <a href="/Home/video/program/id/11">
                <div class="item-list">
                    <p class="icon_xuetang"></p>
                    <p>理财学堂</p>
                </div>
            </a>
        </li>
        <li>
            <a href="/Home/video/program/id/13">
                <div class="item-list">
                    <p class="icon_fengyun"></p>
                    <p>网贷风云榜</p>
                </div>
            </a>
        </li>
        <li>
            <a href="/Home/video/program/id/15">
                <div class="item-list">
                    <p class="icon_renwu"></p>
                    <p>网贷人物访谈</p>
                </div>
            </a>
        </li>
    </ul>
</div>
<!-- 视频 -->
<div class="video-item">
    <div class="title"><h4>网贷早报-每日更新</h4><a href="/Home/video/program/id/8">更多<span></span></a></div>
    <div class="common-banner school_content">
        <a href="/Home/Video/video_info/id/{$today_video.0.id}/type/2">
            <div class="video-img">
                <img <notempty name="today_video[0][wx_pic]">src="{$today_video.0.wx_pic}"<else/>src="{$today_video.0.pic}"</notempty>>
                <div class="common-detail"><p>播放:{$today_video.0.play_count}<span>{$today_video.0.add_time|date="Y-m-d",###}</span></p></div>
            </div>
            <div class="video-title">{:msubstr($today_video[0]['title'],0,20)}</div>
        </a>
    </div>
    <div class="common-slider">
        <div class="common-swiper-container">
            <div class="swiper-wrapper school_list">
                <foreach name="today_video" item="v" key="k">
                <if condition="$k neq 0">
                <div class="swiper-slide">
                    <a href="/Home/Video/video_info/id/{$v.id}/type/2">
                        <div class="video-img">
                            <img <notempty name="v[wx_pic]">src="{$v.wx_pic}"<else/>src="{$v.pic}"</notempty> alt="">
                            <div class="common-detail"><p>播放:{$v.play_count}<span>{$v.add_time|date="Y-m-d",###}</span></p></div>
                        </div>
                        <div class="video-title">{:msubstr($v['title'],0,20)}</div>
                    </a>                    
                </div>
                </if>
                </foreach>
            </div>
        </div>
    </div>
</div>
<!-- 平台走访 -->
<div class="video-plat">
    <div class="title"><h4>平台走访</h4></div>
    <div class="plat-swiper-container">
        <div class="swiper-wrapper">
              <foreach name="ptzf_video" item="v">
                <div class="swiper-slide">
                    <a href="/Home/Video/video_info/id/{$v.id}/type/2">
                    <div class="video-img">
                        <img   <notempty name="v[wx_pic]">src="{$v.wx_pic}"<else/>src="{$v.pic}"</notempty> alt="">
                        <div class="common-detail"><p>播放:{$v.play_count}<span>{$v.add_time|date="Y-m-d",###}</span></p>
                        </div>
                    </div>
                    <div class="video-title">{:msubstr($v['title'],0,20)}</div>
                    </a>
                </div>
              </foreach>   
        </div>
    </div>
</div>
<!-- 理财学堂 -->
<div class="video-item h12">
    <div class="title">
        <h4>理财学堂</h4>
        <a href="/Home/video/program/id/11">更多<span></span></a>
    </div>
  <div class="common-banner school_content">
        <a href="/Home/Video/video_info/id/{$school_video.0.id}/type/2">
          <div class="video-img">
            <img <notempty name="school_video[0][wx_pic]">src="{$school_video.0.wx_pic}"<else/>src="{$school_video.0.pic}"</notempty>>
            <div class="common-detail">
                <p>播放:{$school_video.0.play_count}<span>{$school_video.0.add_time|date="Y-m-d",###}</span></p>
            </div>
        </div>
         <div class="video-title">{:msubstr($school_video[0]['title'],0,20)}</div>
        </a>
    </div>
    <div class="common-slider">
        <div class="common-swiper-container">
            <div class="swiper-wrapper school_list">
                <foreach name="school_video" item="v" key="k">
                <if condition="$k neq 0">
                <div class="swiper-slide">
                    <a href="/Home/Video/video_info/id/{$v.id}/type/2">
                    <div class="video-img">
                        <img   <notempty name="v[wx_pic]">src="{$v.wx_pic}"<else/>src="{$v.pic}"</notempty> alt="">
                        <div class="common-detail">
                            <p>播放:{$v.play_count}
                                <span>{$v.add_time|date="Y-m-d",###}</span>
                            </p>                          
                        </div>
                    </div>
                    <div class="video-title">{:msubstr($v['title'],0,20)}</div>
                    </a>
                </div>
                </if>
                </foreach>
            </div>
        </div>
    </div>
</div>
<!-- 网贷风云榜 -->
<div class="video-item cl">
    <div class="title">
        <h4>网贷风云榜</h4>
        <a href="/Home/video/program/id/13">更多<span></span></a>
    </div>
  <div class="common-banner school_content">
        <a href="/Home/Video/video_info/id/{$wdfy_video.0.id}/type/2">
         <div class="video-img">
            <img <notempty name="wdfy_video[0][wx_pic]">src="{$wdfy_video.0.wx_pic}"<else/>src="{$wdfy_video.0.pic}"</notempty>>
            <div class="common-detail">
                <p>播放:{$wdfy_video.0.play_count}<span>{$wdfy_video.0.add_time|date="Y-m-d",###}</span></p>
               
            </div>
        </div> 
        <div class="video-title">{:msubstr($wdfy_video[0]['title'],0,20)}</div>
        </a>
    </div>
    <div class="common-slider">
        <div class="common-swiper-container">
            <div class="swiper-wrapper school_list">
                <foreach name="wdfy_video" item="v" key="k">
                <if condition="$k neq 0">

                <div class="swiper-slide">
                    <a href="/Home/Video/video_info/id/{$v.id}/type/2">
                    <div class="video-img">
                        <img   <notempty name="v[wx_pic]">src="{$v.wx_pic}"<else/>src="{$v.pic}"</notempty> alt="">
                        <div class="common-detail">
                            <p>播放:{$v.play_count}
                                <span>{$v.add_time|date="Y-m-d",###}</span>
                            </p>
                            
                        </div>
                    </div>
                    <div class="video-title">{:msubstr($v['title'],0,20)}</div>
                    </a>
                </div>

                </if>
                </foreach>
            </div>
        </div>
    </div>
</div>
<!-- 网贷人物专访 -->
<div class="video-item cl">
    <div class="title">
        <h4>网贷人物专访</h4>
        <a href="/Home/video/program/id/15">更多<span></span></a>
    </div>
 <div class="common-banner school_content">
        <a href="/Home/Video/video_info/id/{$rw_video.0.id}/type/2">
        <div class="video-img">
            <img <notempty name="rw_video[0][wx_pic]">src="{$rw_video.0.wx_pic}"<else/>src="{$rw_video.0.pic}"</notempty>>
            <div class="common-detail">
                <p>播放:{$rw_video.0.play_count}<span>{$rw_video.0.add_time|date="Y-m-d",###}</span></p>
                
            </div>
        </div>
        <div class="video-title">{:msubstr($rw_video[0]['title'],0,20)}</div>
        </a>
    </div>
    <div class="common-slider">
        <div class="common-swiper-container">
            <div class="swiper-wrapper school_list">
                <foreach name="rw_video" item="v" key="k">
                <if condition="$k neq 0">

                <div class="swiper-slide">
                    <a href="/Home/Video/video_info/id/{$v.id}/type/2">
                    <div class="video-img">
                        <img   <notempty name="v[wx_pic]">src="{$v.wx_pic}"<else/>src="{$v.pic}"</notempty> alt="">
                        <div class="common-detail">
                            <p>播放:{$v.play_count}
                                <span>{$v.add_time|date="Y-m-d",###}</span>
                            </p>
                           
                        </div>
                    </div> 
                    <div class="video-title">{:msubstr($v['title'],0,20)}</div>
                    </a>
                </div>

                </if>
                </foreach>
            </div>
        </div>
    </div>
</div>
<div style="height:2rem"></div>
   

</block>
<script src="__PUBLIC__js/index.js"></script>
<block name="js"> 
    <script type="text/javascript">
     var swiper = new Swiper('.header-swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
    })
    var mySwiper = new Swiper('.plat-swiper-container', {
        slidesPerView: 'auto',
        spaceBetween: 10,
        centeredSlides: true,
        loop:true,
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
    });

	 var h = ''
    h+='<div class="laymsg">'
    h+='<div class="l_close" onclick="layer.closeAll()"></div>'
    h+=' <div class="swiper-container swiper-containers">'
    h+='<div class="swiper-wrapper">'
    h+='<div class="swiper-slide content_swiper">'
    h+='<div class="lay_title">风险提示</div>'
    h+='<p>网贷行业是一种通过网贷中介平台实现 -个人借款给个人或个人借款给企业的融资借贷形式。 </p>'
    h+='<p>个人通过出借自己的资金实现利息收益，使自己的闲散资金适度增值。但在整个过程中无论是借款人还是借款企业均存在逾期甚至骗贷风险，出借（投资）风险相对银行理财和货币基金（'
    h+='余额宝等宝宝类理财产品）偏高，希望每个8号金融街的注册用户都能时刻谨记，<span style="color: #dc3838">网贷理财有风险，投资出借需谨慎！</span></p>'


    h+='<div class="lay_title">注册邀请</div>'
    h+=' <p>8号金融街投研团队拥有5年网络理财从业经验，一直用严苛的风控程序与实地走访相结合，致力于为广大“余额宝”、“理财通”等网络理财用户提供期望收益高于市场水平的网贷理财平台，8号金融街上线2年保持合作网贷平台“零雷”、“零逾期”及“历史兑付率100%”的成绩。8号金融街，始终拥护监管的相关要求，所有合作平台均进行了详细的背景和资产端调查，力争做到只展示给大家最合规的平台，大大降低新手网贷投资者“踩雷”的风险。</p>'

    h+=' <p>在此，我们诚意邀请各位踏上“资产适度增值”的理财投资之路。</p>'
    h+=' <p>在8号金融街，您可以通过注册领取新手红包，还可以观看我们日常更新的“网贷早报”“网贷风云榜”“互金名人秀”等节目，也可以添加我们的客服QQ:1000828，进入8号金融街投资者交流群，结交好友，共享网贷理财知识。</p>'

    h+=' </div>'
    h+='</div>'
    h+='<div class="swiper-scrollbar"></div>'
    h+='</div>'
  h+='</div>'
  
      function isnologin(){
        layer.open({
                    content: '请先登录！'
                    , skin: 'msg'
                    , time: 1
                    , end: function () {
                        location.href = "/Home/User/login?callback=/Home/index/index"
                    }
                });
      }
      $(function(){
       
       if(!$.cookie('is_layer')){
         layer.open({
          type: 1
          ,content: h
          ,anim: 'up'
          ,style: 'margin-left:auto;margin-right:auto; border-radius:0.2rem; width: 8.42rem; height: 10.09rem; padding:0px 0; border:none;'
        });
         $.cookie('is_layer', '1',{ expires: 3 });
       }
         

      })
   


  
      function isnologin(){
        layer.open({
                    content: '请先登录！'
                    , skin: 'msg'
                    , time: 1
                    , end: function () {
                        location.href = "/Home/User/login?callback=/Home/index/index"
                    }
                });
      }
   
  
    
    </script>
  
</block>